/*
 * @Author: fjxcjm 3157329468@qq.com
 * @Date: 2024-10-10 17:45:57
 * @LastEditors: fjxcjm 3157329468@qq.com
 * @LastEditTime: 2024-10-10 17:46:05
 * @FilePath: \vue3-project\src\store\menu.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { defineStore } from "pinia";

export const useMenuStore = defineStore("menu", () => {
  const isExpand = ref(false);

  const expandMenu = () => {
    isExpand.value = !isExpand.value;
  };

  return { isExpand, expandMenu };
});
